package errs

import "errors"

var (
	ErrFormNotAllowRewrite      = errors.New("the form is not allowed to rewrite")
	ErrFormIsOrphan             = errors.New("the form is orphaned")
	ErrApplicationViewForbidden = errors.New("have no right to view the application")
	ErrNotClubManager           = errors.New("user is not a manager of the club")
	ErrNotAdmin                 = errors.New("user is not an administrator")

	ErrNotFreshApplication = errors.New("the application is not fresh application")

	ErrInvalidInvite = errors.New("invite is invalid")

	ErrDefaultStatusIsNotSet   = errors.New("default status is not set")
	ErrFormStatusSuccessNotSet = errors.New("manager not set status of success")
	ErrFormStatusFailureNotSet = errors.New("manager not set status of failure")
	ErrFormStatusNotInClub     = errors.New("form status is not in club")
	ErrFormAlreadyPublished    = errors.New("form already published")
	ErrFormStatusIsBroken      = errors.New("err form status is broken")

	ErrClubMemberAlreadyExists = errors.New("the member already exists")
	ErrIsNotClubMember         = errors.New("is not a club member")

	ErrIsNotMessageReceiver   = errors.New("is not a message receiver")
	ErrIsBrokenMessage        = errors.New("is not a broken message")
	ErrCannotDetailForMessage = errors.New("can not detail for a message")
	ErrCannotSendMessage      = errors.New("can not send message")

	ErrInviteLinkIsNullified = errors.New("invite link is nullified")
)
